import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
import HomeView from '@/views/Home/index.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/c1',
      redirect: '/c1/home'
    },
    {
      path: '/c1/home',
      name: 'home',
      component: HomeView
    },
    {
      path: '/c1/login',
      name: 'login',
      component:() => import('@/views/Login.vue')
    },
  ]
})



export default router
